//
//  CaiPiaoChargeRequest.m
//  EasyToo
//
//  Created by linshengqin on 13-8-25.
//
//

#import "CaiPiaoChargeRequest.h"

@implementation CaiPiaoChargeRequest
- (id)initWithMoney:(NSString*)money cardID:(NSString *)cardId Delegate:(id<ServerCommunicationDelegate>)delegate
{
    
    self = [super init];
    if (self) {
        self.cardId = cardId;
        self.money = money;
        self.delegate = delegate;
        
        [self.bodyJsonDict setObject:self.cardId forKey:@"cardId"];
        [self.bodyJsonDict setObject:self.money forKey:@"money"];
        
        [self.headerJsonDict setObject:@"016009" forKey:@"TranCode"];

        [self buildJsonRequest];
    }
    return self;
}

- (void)dealloc
{
    self.cardId = nil;
    [super dealloc];
}

@end
